import torch as t
a = t.Tensor([[1,2],[3,4]])
b = t.Tensor([[10,20],[30,40]])

c = t.add(a,b)
d = t.sub(a,b)
e = t.mul(a,b)
f = t.div(a,b)
g = t.pow(b,2)
f = t.abs(d)

print(c,d,e,f)